<?php include PATH_VIEWS . 'common/header.php'; ?> 
<div class="main">
    <?php include PATH_VIEWS . 'common/left.php'; ?>
    <div class="main_right welcome_right" id="slide">
        <dl>
            <dt><h3>操作说明 <span>[关闭/展开]</span></h3></dt>
            <dd class="border">
                <span>以下红色边框的表单是必填项 。</span>
            </dd>
        </dl>
        <dl>
            <dt class="bottom">
            <h4>修改个人信息</h4>
            </dt>
            <dd> 
                <form name="form1" method="post" action="<?php echo URL ?>" onsubmit="return checkForm(this.name)">
                    <table class="system_envir from_demo">   
                        <tr>
                            <td>账户名</td>
                            <td class="pading_lef" colspan="2">
                                <?php echo $edit['Faccount'] ?>
                            </td>
                        </tr>
                        <tr>
                            <td>姓名</td>
                            <td class="email"><input type="text"  name="Fname" maxlength="20" value="<?php echo $edit['Fname'] ?>" data-rule="姓名:required；length[2~16]" data-target="#name" /></td>
                            <td id="name">真实姓名</td>
                        </tr>
                        <tr>
                            <td>邮箱</td>
                            <td class="email"><input type="text" name="Fmail" maxlength="20" value="<?php echo $edit['Fmail'] ?>" data-rule="邮箱:required;email"  data-target="#email1"/></td>
                            <td id="email1">请填写正确的邮箱格式</td>
                        </tr>
                        <tr>
                            <td>QQ</td>
                            <td class="widt"><input id="fqq" type="text" name="Fqq" maxlength="20" value="<?php echo $edit['Fqq'] ?>" data-rule="integer;length[5~11]" data-target="#qq"/></td>
                            <td><span id="qq"></span><span id="qqLeng">请填写正确的QQ号码</span></td>
                        </tr>
                        <tr>
                            <td>手机号码</td>
                            <td class="widt"><input id="fMobile" type="text" name="Fmobile" maxlength="20" value="<?php echo $edit['Fmobile'] ?>" data-rule="手机号码:mobile" data-target="#mobile"/></td>
                            <td><span id="mobile"></span><span class="shouji">请填写正确的手机号码</span></td>
                        </tr>
                        <tr>
                            <td>固定电话</td>
                            <td class="widt"><input id="ftel" type="text" name="Ftel" maxlength="20" value="<?php echo $edit['Ftel'] ?>" data-rule="tel" data-target="#tel"/></td>
                            <td><span id="tel"></span><span id="tel1">请填写正确的固定电话</span></td>
                        </tr>
                        <tr>
                            <td></td>
                            <td class="subbtn" colspan="2">
                                <input class="ok" type="submit" name="ok" value="确认提交"/>
                                <a href="index.php?C=System&A=userInfo&way=A" class="cancel">取消</a>
                            </td>
                        </tr>
                    </table>
                </form>
            </dd>
        </dl>
    </div>
</div>
<?php
include PATH_VIEWS . 'common/footer.php';
